API Documentation
MAIN PAGE
NAMESPACES
CLASSES
Documentation
Headers
NilkinsGraphics
Samplers
SamplerManager.h
1
// SamplerManager.h
3
//
5
6
namespace
nkGraphics
7
{
13
class
DLL_GRAPHICS_EXPORT
SamplerManager
final :
public
nkCommon::SingletonClass<SamplerManager>
14
{
15
public :
16
20
~SamplerManager
() ;
21
22
// Memory management
29
Sampler
*
createOrRetrieve
(
const
std::string_view& name) ;
36
Sampler
*
get
(
const
std::string_view& name) ;
45
Sampler
*
getByIndex
(
unsigned
int
id
) ;
52
void
rename
(
const
std::string_view& oldName,
const
std::string_view& newName) ;
58
void
erase
(
const
std::string_view& name) ;
59
} ;
60
}
nkGraphics::SamplerManager::rename
void rename(const std::string_view &oldName, const std::string_view &newName)
nkGraphics::SamplerManager
Manages the samplers available in the component.
Definition:
SamplerManager.h:14
nkGraphics::SamplerManager::createOrRetrieve
Sampler * createOrRetrieve(const std::string_view &name)
nkGraphics::SamplerManager::get
Sampler * get(const std::string_view &name)
nkGraphics::SamplerManager::~SamplerManager
~SamplerManager()
nkGraphics::Sampler
Holds all the information needed of a sampler used during rendering.
Definition:
Sampler.h:12
nkGraphics::SamplerManager::erase
void erase(const std::string_view &name)
nkGraphics::SamplerManager::getByIndex
Sampler * getByIndex(unsigned int id)
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition:
BoundingBox.h:7
Generated by
Doxygen
1.8.18